from django.urls import path
from . import views
# url的命名空间
app_name = 'course'

urlpatterns = [
    path('', views.IndexView.as_view(), name='index'),    # 将这条路由命名为index
]